package service.impl;

import service.CropService;
import service.entity.Crop;
import service.entity.Soybean;
import service.entity.Wheat;

/**
 * @ClassName CropSeviceImpl
 * @Description TODO
 * @Author hongwuyang
 * @Date 2024/2/20 10:55
 */
public class CropSeviceImpl implements CropService {
    @Override
    public Crop makeSoybean() {
        return new Soybean("1米",100);
    }

    @Override
    public Crop makeWheat() {
        return new Wheat("2米",100);

    }
}
